<template>
<div class="ui-design-preview">
	<design-preview :table-data="pagesContent"></design-preview>
</div>
</template>
<script>
import designPreview from "@/views/ui/components/preview/design-preview.vue";
    export default {
	    name:'ui-design-preview',
		components: {designPreview },

        data() {
            return {
				pagesContent:{}
			}
		},
	
        created() {
        },
        computed: {
		 
		},
        methods: {
	
		},
		mounted(){
			if(this.getSession("preview")){
				this.pagesContent=JSON.parse(this.getSession("preview"))
				console.log(this.pagesContent)
			}
		}
    }
</script>

<style lang='less'>
.ui-design-preview{
		width: 100%;
		height: 100%;
		padding-left:20px ;
		}
</style>